package com.example.service2.controller;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.core.env.ConfigurableEnvironment;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @className: Service2Application
 * @description:
 * @author: yang pan
 */
@SpringBootApplication
@RefreshScope
@EnableDubbo
public class Service2Application {

    public static void main(String[] args) {
        SpringApplication.run(Service2Application.class);

    }

}
